Optimal. Leaf size=51 \[ 4 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )-4 \sqrt {a+b \sqrt {\frac {c}{x}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {369, 266, 50, 63, 208} \[ 4 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )-4 \sqrt {a+b \sqrt {\frac {c}{x}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 208
Rule 266
Rule 369
Rubi steps
\begin {align*} \int \frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{x} \, dx &=\operatorname {Subst}\left (\int \frac {\sqrt {a+\frac {b \sqrt {c}}{\sqrt {x}}}}{x} \, dx,\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right )\\ &=-\operatorname {Subst}\left (2 \operatorname {Subst}\left (\int \frac {\sqrt {a+b \sqrt {c} x}}{x} \, dx,x,\frac {1}{\sqrt {x}}\right ),\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right )\\ &=-4 \sqrt {a+b \sqrt {\frac {c}{x}}}-\operatorname {Subst}\left ((2 a) \operatorname {Subst}\left (\int \frac {1}{x \sqrt {a+b \sqrt {c} x}} \, dx,x,\frac {1}{\sqrt {x}}\right ),\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right )\\ &=-4 \sqrt {a+b \sqrt {\frac {c}{x}}}-\operatorname {Subst}\left (\frac {(4 a) \operatorname {Subst}\left (\int \frac {1}{-\frac {a}{b \sqrt {c}}+\frac {x^2}{b \sqrt {c}}} \, dx,x,\sqrt {a+\frac {b \sqrt {c}}{\sqrt {x}}}\right )}{b \sqrt {c}},\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right )\\ &=-4 \sqrt {a+b \sqrt {\frac {c}{x}}}+4 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 51, normalized size = 1.00 \[ 4 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )-4 \sqrt {a+b \sqrt {\frac {c}{x}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.94, size = 110, normalized size = 2.16 \[ \left [2 \, \sqrt {a} \log \left (2 \, \sqrt {b \sqrt {\frac {c}{x}} + a} \sqrt {a} x \sqrt {\frac {c}{x}} + 2 \, a x \sqrt {\frac {c}{x}} + b c\right ) - 4 \, \sqrt {b \sqrt {\frac {c}{x}} + a}, -4 \, \sqrt {-a} \arctan \left (\frac {\sqrt {b \sqrt {\frac {c}{x}} + a} \sqrt {-a}}{a}\right ) - 4 \, \sqrt {b \sqrt {\frac {c}{x}} + a}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.02, size = 150, normalized size = 2.94 \[ \frac {2 \sqrt {a +\sqrt {\frac {c}{x}}\, b}\, \left (\sqrt {\frac {c}{x}}\, a b \,x^{\frac {3}{2}} \ln \left (\frac {2 a \sqrt {x}+\sqrt {\frac {c}{x}}\, b \sqrt {x}+2 \sqrt {a x +\sqrt {\frac {c}{x}}\, b x}\, \sqrt {a}}{2 \sqrt {a}}\right )+2 \sqrt {a x +\sqrt {\frac {c}{x}}\, b x}\, a^{\frac {3}{2}} x -2 \left (a x +\sqrt {\frac {c}{x}}\, b x \right )^{\frac {3}{2}} \sqrt {a}\right )}{\sqrt {\left (a +\sqrt {\frac {c}{x}}\, b \right ) x}\, \sqrt {\frac {c}{x}}\, \sqrt {a}\, b x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.29, size = 61, normalized size = 1.20 \[ -2 \, \sqrt {a} \log \left (\frac {\sqrt {b \sqrt {\frac {c}{x}} + a} - \sqrt {a}}{\sqrt {b \sqrt {\frac {c}{x}} + a} + \sqrt {a}}\right ) - 4 \, \sqrt {b \sqrt {\frac {c}{x}} + a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {\sqrt {a+b\,\sqrt {\frac {c}{x}}}}{x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {a + b \sqrt {\frac {c}{x}}}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________